package io.renren.modules.personnel.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.personnel.dao.FirstTryListDao;
import io.renren.modules.personnel.entity.FirstTryListEntity;
import io.renren.modules.personnel.service.FirstTryListService;


@Service("firstTryListService")
public class FirstTryListServiceImpl extends ServiceImpl<FirstTryListDao, FirstTryListEntity> implements FirstTryListService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<FirstTryListEntity> page = this.page(
                new Query<FirstTryListEntity>().getPage(params),
                new QueryWrapper<FirstTryListEntity>()
        );

        return new PageUtils(page);
    }

}
